A sum of money is divided among three persons X Y and Z in the ratio 10:7:5. If Y gets Rs.140 more